<?php
$this->breadcrumbs = array(
	$model->manga->title=>array('manga/view', 'id'=>$model->mangaId),
	$model->title,
);

$this->menu = array(
	array('label'=>'List Chapter', 'url'=>array('index')),
	array('label'=>'Create Chapter', 'url'=>array('create')),
	array('label'=>'Update Chapter', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Chapter', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete', 'id'=>$model->id), 'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Chapter', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->manga->title . " - $model->title Chapter"; ?></h1>

<?php
$this->renderPartial('_view', array('data'=>$model));
?>

<h1>Pages</h1>

<?php
$properties = array(
	'dataProvider'=>$pageDataProvider,
	'itemView'=>'application.views.page._view',
);
$this->widget('zii.widgets.CListView', $properties);
?>